﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace com.ubosi.spider.core.Net
{
    public class WebRequestSetting
    {
        public string UserAgent { get; set; }
        public string Accept { get; set; }
        public DecompressionMethods AutomaticDecompression { get; set; }
        public List<KeyValuePair<HttpRequestHeader, string>> Headers { get; set; }
        public bool AllowAutoRedirect { get; set; }
        public int Timeout { get; set; }
        public string Referer { get; set; }
        /// <summary>
        /// 尝试次数
        /// </summary>
        public int TryCount { get; set; }
    }
}
